<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>range类型</title>
</head>
<body>
    <form action="" method="post">
        <fieldset>
            <legend>选择颜色值：</legend>
            <input id="slider1" type="range" min="100" max="500" step="10"/>
        </fieldset>
    </form>
</body>
</html>